using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace Business
{
    public class clsNhanVien:clsNguoiDung
    {
        //Fields.
        private String tenTruyCap;
        private String matKhau;
        private String dienThoai;
        private clsChucVu chucVu;
        private clsBoPhan boPhan;
        private ArrayList dsBangCap;

        //Constructors.
        public clsNhanVien()
        {
        }

        public clsNhanVien(String maND, String hoTen, bool gioiTinh, 
                           String diaChi, DateTime ngaySinh, String hinhAnh,
                           String tenTruyCap, String matKhau, String dienThoai,
                           clsChucVu chucVu, clsBoPhan boPhan, ArrayList dsBangCap)
                           :base(maND, hoTen, gioiTinh, diaChi, ngaySinh, hinhAnh) 
        {
            this.tenTruyCap = tenTruyCap;
            this.matKhau = matKhau;
            this.dienThoai = dienThoai;
            this.chucVu = chucVu;
            this.boPhan = boPhan;
            this.dsBangCap = dsBangCap;
        }

        //Properties.
        public String TenTruyCap
        {
            set { this.tenTruyCap = value; }
            get { return this.tenTruyCap; }
        }

        public String MatKhau
        {
            set { this.matKhau = value; }
            get { return this.matKhau; }
        }

        public String DienThoai
        {
            set { this.dienThoai = value; }
            get { return this.dienThoai; }
        }

        public clsChucVu ChucVu
        {
            set { this.chucVu = value; }
            get { return this.chucVu; }
        }

        public clsBoPhan BoPhan
        {
            set { this.boPhan = value; }
            get { return this.boPhan; }
        }

        public ArrayList DSBangCap
        {
            set { this.dsBangCap = value; }
            get { return this.dsBangCap; }
        }

        //Methods.
    }
}
